package cc.jinglupeng.kom.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by jinglupeng on 4/12/16.
 */
@Controller
@RequestMapping("/")
public class DefaultPageController {


    @RequestMapping("/")
    public void indexPage(HttpServletResponse response) throws IOException {
        response.sendRedirect("/ui/index/index.html");
    }

}
